<div style="width: 680px; height: 640px; margin: 10px auto;" class="layui-card"><div style="height: 640px;" class="layui-card-header"><div v-for="(row, i) in cells" style="height: 40px;"><div v-for="(cell, j) in row" style="width: 38px; height: 38px; border: 1px solid skyblue; display: inline-block; cursor: pointer;" v-bind:style="{ background: colors[cell.type] }" v-on:click="toTarget(cell)">{{ cell.text }}</div></div></div><div class="layui-card-body"><button style="width: 90px;" type="button" v-on:click="refresh" class="layui-btn layui-btn-normal">重置地图</button></div></div>